package com.kfm.base.ab;

public abstract class Person {

    private String name;

    public Person() {
    }

    public abstract void dress();

    public abstract void eat();

    public void say() {
        System.out.println("说话");
    }
}

class Child extends Person {

    @Override
    public void dress() {
        System.out.println("穿童装");
    }

    @Override
    public void eat() {
        System.out.println("吃奶粉");
    }

}
